from datetime import datetime
import random

user_date = "carrot"
password_date = "123456"

username = input ("请输入正确的账号：")
password = input("请输入正确的密码：")

if  username == user_date :
    if password == password_date:
        print("会员你好，登录成功，欢迎")
    else:
        for item in range(5):
            print("输入次数已达上限")

week_time = random.randint(1, 7)

date =input("please enter the date:")

if week_time == date:
    print("")

if week_time == 6:
    print("不用上课！")

elif week_time == 1:
    print("周一有");
    print("Python")
elif week_time == 2:
    print("周二有");
    print("H5互动技术与运用")
elif week_time == 3:
    print("周三有");
    print("大学英语")
elif week_time == 4:
    print("周四有");
    print("广告文案写作")
elif week_time == 5:
    print("周五有");
    print("创业基础实践")
else:
    print("今天周末");
    print("哈哈哈哈哈哈哈哈哈终于不用上课啦！！")

print()